package com.skywolf.chem.usercenterapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.skywolf.chem.article.entity.Article;
import com.skywolf.chem.article.entity.Position;
import com.skywolf.chem.pageconfig.entity.ColumnInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2020-06-09
 */
public interface IPositionService extends IService<Position> {
    ColumnInfo getColByAticleId(Long articleId);

    List<Article> getArticleByColumnId(Long colId,Long articleId);

    /**
     * 推荐新闻
     * @return
     */
    List<Article> getRecommendnews(Long articleId);

    int deletePosition(Long articleId);
}
